package com.boy.tool.utils;

import java.util.regex.Pattern;

/**
 * Create with IntelliJ IDEA.
 *
 * @Auther：Whd
 * @Date：2024-05-10-14:06
 * @Description；
 */
public class PhoneUtil {

    public static Boolean verifyPhone(String phone){
        if ((phone != null) && (!phone.isEmpty())) {
            return Pattern.matches("^1[3-9]\\d{9}$", phone);
        }
        return false;
    }

}
